package br.unb.mestrado.simulator.util;

import br.unb.mestrado.simulator.model.context.ContextInfoInterface;

public abstract class AppMonitorConstant {

	public static final String TAG = "SimulatorQoS";

	
	public static String getName(int identifier){
		switch (identifier) {
			case ContextInfoInterface.ANY_EVENT:
				return "ANY_EVENT";
			case ContextInfoInterface.TEMPERATURE_UNAVAILABLE:
				return "TEMPERATURE_UNAVAILABLE";
			case ContextInfoInterface.TEMPERATURE_FEVER_HIGH:
				return "TEMPERATURE_FEVER_HIGH";
			case ContextInfoInterface.TEMPERATURE_FEVER_MODERATE:
				return "TEMPERATURE_FEVER_MODERATE";
			case ContextInfoInterface.TEMPERATURE_FEVER_LOW:
				return "TEMPERATURE_FEVER_LOW";
			case ContextInfoInterface.TEMPERATURE_NORMAL:
				return "TEMPERATURE_NORMAL";
			case ContextInfoInterface.TEMPERATURE_HYPOTHERMIA_LOW:
				return "TEMPERATURE_HYPOTHERMIA_LOW";
			case ContextInfoInterface.TEMPERATURE_HYPOTHERMIA_MODERATE:
				return "TEMPERATURE_HYPOTHERMIA_MODERATE";
			case ContextInfoInterface.TEMPERATURE_HYPOTHERMIA_HIGH:
				return "TEMPERATURE_HYPOTHERMIA_HIGH";
			case ContextInfoInterface.SP02_SENSOR_UNAVAILABLE:
				return "SP02_SENSOR_UNAVAILABLE";
			case ContextInfoInterface.OXYGENATION_NORMAL:
				return "OXYGENATION_NORMAL";
			case ContextInfoInterface.OXYGENATION_LOW:
				return "OXYGENATION_LOW";
			case ContextInfoInterface.PULSE_RATE_LOW:
				return "PULSE_RATE_LOW";
			case ContextInfoInterface.PULSE_RATE_NORMAL:
				return "PULSE_RATE_NORMAL";
			case ContextInfoInterface.PULSE_RATE_HIGH:
				return "PULSE_RATE_HIGH";
			case ContextInfoInterface.PULSE_RATE_UNAVAILABLE:
				return "PULSE_RATE_UNAVAILABLE";
			case ContextInfoInterface.PARSER_ACC_EVENT:
				return "PARSER_ACC_EVENT";
			case ContextInfoInterface.PARSER_SPO2_EVENT:
				return "PARSER_SPO2_EVENT";
			case ContextInfoInterface.PARSER_ECG_EVENT:
				return "PARSER_ECG_EVENT";
			case ContextInfoInterface.PARSER_TEMPERATURE_EVENT:
				return "PARSER_TEMPERATURE_EVENT";
			default:
				return "NOT_IDENTIFIED";
		}
	}
	
}
